[XEND] XendVDI saves configuration on change.
authorAlastair Tse <atse@xensource.com>
Fri, 13 Oct 2006 14:34:01 +0000 (15:34 +0100)
committerAlastair Tse <atse@xensource.com>
Fri, 13 Oct 2006 14:34:01 +0000 (15:34 +0100)
commit5d179b7561692d372481dec35002f96fee053e01
treedd52836bd363ff87c738e77f53e7f21431809c61
parent76b24ff4e2109f39534f421cb151929cc09718cf
[XEND] XendVDI saves configuration on change.

Added a base class called AutoSaveObject that will attempt to call
save_config() if any attribute in the object changes. It isn't
particularly efficient, but we do not expect VDI to change much.

Signed-off-by: Alastair Tse <atse@xensource.com>
tools/python/scripts/xapi.py
tools/python/xen/xend/XendVDI.py